package frameworks.modules
{
	import frameworks.models.BaseModel;
	import frameworks.modules.views.IBaseView;
	import frameworks.widgets.BaseSender;
	import frameworks.widgets.Result;

	public interface IBaseModule
	{
		function get view():IBaseView;
		function get options():Object;
		function get id():String;
		function dispatchAction(aid:String,...args):*;
		//function addWatchModel(model:BaseSender, property:String, fun:Function):void;
		//function delWatchModel(model:Sender, property:String, fun:Function):void;
		function buildEnvironment():void;
		function buildEnvironmentCompleted(result:Result):void;
	}
}